package com.hc.ssm.services;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hc.ssm.dao.BlogMapper;


@Service
public class BlogServicesImpl implements BlogServices {
	@Autowired
	private BlogMapper blogMapper;

	
	@Override
	public List<Map<String, Object>> findBlog(Map<String, Object> map1) {
		return blogMapper.findBlog(map1);
	}

	@Override
	public int addBlog(Map<String, Object> map) {
		return blogMapper.addBlog(map);
	}

	@Override
	public int deleteBlog(Map<String, Object> map) {
		return blogMapper.deleteBlog(map);
	}

	@Override
	public Map<String, Object> countBlog(Map<String, Object> map) {
		return blogMapper.countBlog(map);
	}

}
